package com.correo.modelo.client;

import java.sql.SQLException;
import java.util.List;

import com.correo.database.beans.CasillaCorreoBean;
import com.correo.database.beans.UserBean;
import com.correo.database.client.ManagerDataBaseClient;

public class ModelCasillaCorreo {

	public ModelCasillaCorreo(){
		
	}

	public List<CasillaCorreoBean> getListaCasillaCorreo(UserBean userConnect) throws ClassNotFoundException, SQLException {
		
		return ManagerDataBaseClient.getInstance().CasillaCorreo(userConnect) ;
	}

	public List<CasillaCorreoBean> getListaCasillaCorreoAgenda(
			CasillaCorreoBean casilla) throws SQLException, ClassNotFoundException {
	
		return ManagerDataBaseClient.getInstance().getCasillaCorreoAgenda(casilla);
	}
}
